module.exports = {
  presets: ['@vue/cli-plugin-babel/preset'],
  // `style: true` 会加载 less 文件
  plugins: [
    '@vue/babel-plugin-jsx',
    ['import', { libraryName: 'ant-design-vue', libraryDirectory: 'es', style: true }],
    [
      'import',
      {
        libraryName: 'vant',
        libraryDirectory: 'es',
        style: true
      },
      'vant'
    ]
  ]
};
